import request from '@/utils/request'

// 查询户籍人口列表
export function listHukou_population(query) {
  return request({
    url: '/report/hukou_population/list',
    method: 'get',
    params: query
  })
}

// 查询户籍人口详细
export function getHukou_population(id) {
  return request({
    url: '/report/hukou_population/' + id,
    method: 'get'
  })
}

// 新增户籍人口
export function addHukou_population(data) {
  return request({
    url: '/report/hukou_population',
    method: 'post',
    data: data
  })
}

// 修改户籍人口
export function updateHukou_population(data) {
  return request({
    url: '/report/hukou_population',
    method: 'put',
    data: data
  })
}

// 删除户籍人口
export function delHukou_population(id) {
  return request({
    url: '/report/hukou_population/' + id,
    method: 'delete'
  })
}
